/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.amse.grigory.dchess.player;

/**
 *
 * @author grigory
 */
public interface IPlayer {

    public final static int COLOR_WHITE = 1;
    public final static int COLOR_BLACK = -1;

    public void calc();

    public Object lock();

    public int getX();

    public int getY();

    public int getSX();

    public int getSY();

    public boolean moved();
    
    public int getColor();
    
    public void setColor(int color);
    
    public void stop();
}
